<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>SpringBoot模版渲染</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
</head>
<body>
<h2 xmlns:th="http://www.w3.org/1999/xhtml">
    <p>IdNo: <span th:text="${testUser.idNo}">Jack</span>.</p>
    <p>Name: <span th:text="${testUser.name}">21</span>.</p>
    <p>Sex: <span th:text="${testUser.sex}">Rose</span>.</p>
</h2>
</body>
</html>